import React from 'react'
import { useRoutes } from 'react-router-dom'
import { routes } from './router/config'
import 'antd/dist/antd.css'

function App() {
  const ele = useRoutes(routes)
  return <div className="App">{ele}</div>
}

export default App
